More robust handling for the get_group method for large groups.