Fix rename of nodes to elements.