Added a lookup to find nodes to delete.