Fix jinja comparison