Fixed validation errors for number == string