Fix range validation

Validation only checked for the first digit * 10 from placeholder input, never the whole number.