Identify duplicate nodes