Drop duplicates when creating node maps.