Fixed problem with old jinja version.