Fix static variable for tracking contacts added to a group.