XWIKI-7757 : Tag renaming can lead to duplicate tags in a document