fix erroneous curly bracket in planned_courses_controller