Prevent duplicate nodes from being created in the graph database.