             @gotChunkOfStudents responses[0]
           else
             @gotChunkOfStudents(students) for [students, x, y] in responses
-          gotAllStudents.resolve()
+          gotAllStudentsPromise.resolve()
 
       gotCustomColumns = @getCustomColumns()
-      @gotAllData = $.when(gotCustomColumns, gotAllStudents, @gotAllAssignmentGroupsPromise)
+      @gotAllData = $.when(gotCustomColumns, gotAllStudentsAndAssignmentsPromise)
 
       @allSubmissionsLoaded.done =>
         for c in @customColumns

      else
        'students_url'

      @gotAllAssignmentGroupsPromise = $.Deferred().done => @gotAllAssignmentGroups()
      gotAllStudents = $.Deferred().done(()=>
        @gotAllAssignmentGroupsPromise.then(()=> @gotAllStudents())
      )

      @assignmentGroupsParams = {exclude_descriptions: true}
      if @mgpEnabled && @gradingPeriodToShow && @gradingPeriodToShow != '0' && @gradingPeriodToShow != ''

        paginationLinks = xhr.getResponseHeader('Link')
        lastLink = paginationLinks.match(/<[^>]+>; *rel="last"/)
        unless lastLink?
          gotAllStudentsPromise.resolve()
          return
        lastPage = lastLink[0].match(/page=(\d+)/)[1]
        lastPage = parseInt lastPage, 10
        if lastPage == 1
          gotAllStudentsPromise.resolve()
          return

        fetchEnrollments = (page) =>
