Yes, I agree with you my fix is not fully applicable. It should work for numbers which is strings also. Trying to find more efficient solution