Fix bugs in sitemap index