Update Sitemap.php

Had a few problems after time pasted by, then I switched a few lines around in Sitemap.php now things are working again. Just something to think about.