Handle multigroup messages. Use the last group to determine the message badge.