Fixed group recognition when receiving invite.