return cursor for collection.distinct()