Fixed pagination error for grade entry form grades