don't let group_ids return empty group ids