Correct check for all-numeric name