Fixed bug where the SeqTpNode was not included in the output