Fix EZP-23170: swapping node with sub items with non-container node.