another bugfix: also compare by name in the map from old objects to new objects