Worked around templating bug

(Don't use template helper functions with {{#with}})