BACKLOG-4464: Avoid renaming a node type into an already existing name