Fixed issue 1338, added a condition to check for empty student array in alpha_paginate in app/models/grade_entry_form.rb
Merge pull request #1349 from davidrd/issue-1338

Closes #1338: grader gets error when trying to access a spreadsheet