Consider whether to exclude enrollment records when a student has recently enrolled. (In some cases, students recently enrolled may not have a grade to be stored.)
As a recommendation, if you *add a checkmark to the third checkbox and enter a date that is 2-3 days prior to the last day of the Term*, this will assure the system only stores grades for active students while excluding students who very recently enrolled.