Record the node being deleted