Fixes #3558. CMSSitemaps now work correctly with multiple sites.
Merge pull request #3559 from jgoettsch/develop

Fixes #3558. CMSSitemaps now work correctly with multiple sites.