Ensured that the group_id in the RelatedMediaList actually referred to a real group in the database.