switch is_numeric to is_int for checking the parent setting