       for student in students
         continue unless studentNonHocMap[student._id]
         continue if teacherMap[student._id]
-        studentMap[student.id] = {geo: student.geo}
+        studentMap[student._id] = {geo: student.geo}
 
       delete studentNonHocMap[studentId] for studentId in studentNonHocMap # Don't need these anymore
 

        teacherID = trialRequest.applicant
        unless teacherMap[teacherID]
          # E.g. parents
          # console.log("Skipping non-teacher #{teacherID} trial request #{trialRequest.id}")
          continue
        props = trialRequest.properties
        if props.nces_id and props.country and props.state

      url += "&options[beforeId]=#{beforeId}" if beforeId
      new Promise((resolve) -> setTimeout(resolve.bind(null, Promise.resolve($.get(url))), 100))
      .then (batchResults) =>
        return Promise.resolve([]) if @destroyed
        results = results.concat(batchResults)
        if batchResults.length < @batchSize
          @updateLoadingState("Received #{results.length} from #{baseUrl} TOTAL")
