Fix jinja error
Fix jinja comparison