Fixed course_completions method