Add validation if the node exists