You know what? It actually works like this in jinja. I guess jinja doesn't behave the same as Python. I'll still make the change because I agree that it is confusing.