ensure-unique-nodes remove duplicate nodes

keeps node in its most popular tag