A hacky way to allow “undefined” vars to be used in IF conditions within the template