Switched from is_int to is_numeric. This will compare the string returned from the DB and check that the value is a number, whereas is_int will just check to see if the value is an int.