Does it have the course.id property too?  I haven't looked that closely at that area of the code.