Check if the node already exists before adding it