Hi @jayaveljays this is because you are comparing a number Vs string.
May be we can try using toString();
something like in the below link: