Fixed problem with loading template ing getOrderedTemplateList