Fixed recursion in course_enrollment_load(). Should have used entity_load_single().