Fixing an issue where any string will pass validation as a number.