Can this be right?  Doesn't seem like it as you're comparing the primary keys of two different tables.  `this_object` is one of Exam, Video., etc and `this_group_entry` is ContentGroup