Added a check for sitemaps