Update NHSValidation.class.php

Don't do number validation if input string is invalid.