Fix SequenceAst creation.