Fixed a bug with falsy strings in the variable replacer