[% IF cnt > 0 %]

Have you verified the Checklist ?

[%- SET i = 0; WHILE i < checklists.size; -%] [% checklists.$i %] [%- SET i = i + 1; END -%]