Fix bug with api not liking group=1 when total_group is 1.