reworked curterm logic, JOINED to students to get only currently enrolled students