Avoid duplicate nodes with different IDs.