[1384] Fix template in NII report to do a proper bool check