Fixed a small bug that divided by 0

After an assigning grades to all students and then afterwards adding a new student, it will bug out (exporting) if the new student isn't given a grade in that assignment.

Who knows why it divides by 0, but it just likes to divide by 0, and so a quick and temporary fix.