fix sitemap returns empty data source

This will fix the problem of data source with 0 records return in the sitemap