Refactored markSubanalyses() to conform to preds and succs node references.