Fixed validation of numbers.