Fixed invalid conditional causing sitemapindex format to use the XML template