Fixed bug that prevented saving blank grades.