Minor fix in template selection