Ensure LMS passes correct group_id when querying content

TNL-23
Inline `user_group_id`