[lnst] XmlTemplates: Bug in alias processing