Handlebars {{#if}} Treats Empty Arrays as Truthy: Diagnostic Guide
Handlebars {{#if}} treats empty arrays and objects as truthy, so empty collections can render content you expected to hide. Use .length or a custom helper to test collections reliably.