         ; Perform shifting due to removal of lesson <div>s
         (shift-lessons-upwards-to-replace-empty-slots! augTTLessonInfoSeq)
         (.log js/console "Here too bro")
-        (timetable-prune-empty-rows affectedDaysSet)
+        (overall-timetable-prune-empty-rows affectedDaysSet)
         (.log js/console "Whats up")
 
         ; Update `ModulesSelected`

                (timetable-remove-lesson! day rowNum ttLessonInfo)))

            (shift-lessons-upwards-to-replace-empty-slots! augTTLessonInfoSeq)
            (timetable-prune-empty-rows affectedDaysSet)
            (update-ModulesSelected-for-affected-days affectedDaysSet)

            ; add the newly selected lesson group

          ($lesson-div-remove $divElem (:startTime augTTLessonInfo)
                              (:endTime augTTLessonInfo))))

      (overall-timetable-prune-empty-rows affectedDaysSet)
      (set! Lessons-Created-By-Draggable nil)

      ; User has dropped the draggable helper <div> onto a droppable
