Fix for issue-1375: Fixed Download Grades Spreadsheet Error

Updated  invalid student.id reference to grade_entry_student, since error results from total grade function is being called on it.