Ensure {{unbound if}} works for undefined values.
Merge pull request #9783 from rwjblue/fix-unbound-if-undefined-values

Ensure {{unbound if}} works for undefined values.