Fix for incorrect tolerance when checking numbers.

Test Plan:
New test cases