Changed is_numeric to is_int