Removing useless scope in the RegularCourse model