[BUGFIX] Validate menu input before checking the digit limit

Input that has reached the digit limit may or may not be valid but we won't know which if the validator has not been applied first.