Oh, that's a bit more complicated. What kind of nodes do you want to delete and why? You can try choosing delete non-deformer history if it's just deformers that you want to keep.