fixed a bug in PrunedCSV where lots of nodes would point into nothingness because of some cleanup action