Fixing collections with new ids