Time-efficiency: Fixed defect.

updateFCECount and updateMyCoursesTab have been moved outside of the loop they were in.

Ref #169