Make sure the resources are unique for each collection.