Fix template helper bugs and add protection to have only one ata per meeting