small fixes + "bool" filter in Twig for converting boolean value into string