added support for collection names to select, reject and partition