Add non-negative validation for grades.