Modified JpaSubmissionRepositoryImpl and Semester.