Fix associating an assignment with a course from the assignment.