fix {{#if}} and {{#unless}} when value is an empty array