Added an is_numeric check.