MDL-47694 mod_assign: Grades require a grade to show as graded

Special thanks to Howard Miller.