Apparently jinja2 does not like "is not"