true should be in jinja not comparison