Updated XML Sitemap logic for all pages to be better organised
Attempted fix for bug in production