make sure multiple collection groups are unique