Fix listing of available templates