Ensure LMS passes correct group_id when querying content

TNL-23
Aha! I considered that, but was thinking of matching the beginning of the URL rather than the end, which posed problems when tests would query different discussion topics. Your should solve that issue :)