Fix mergeobjects

There are few issues with mergeObjects with recent gecko