Fix export TeacherServiceByCourse to depend on semester