Some minor fixes to methods within CourseServiceImpl.