Remove unnecessary references to group message IDs.