here the merge leeds to have the grand child as child of the replacing document. imo it should be dropped as the new node has child == null.