unionOf range and domain of collects/collectedBy