fix jinja SequenceExtension