These two lines seem to imply that contained_in_order can accept either a CourseKey or a string for its second argument, which seems incorrect