Fix DataTreeCandidateNodes handling of deleted nodes