Using is_numeric wasn't enough; fix