Fixed global and local templates not being categorized in the correct accordion tab.