Fix getCollections.