Fix issue where templating didn't cope with falsy values