Ensure LMS passes correct group_id when querying content

TNL-23
does this really need to be a separate function?