Fixed a small bug with rewrite slugs on sitemaps

The rewrite slugs on sitemaps were not properly used(when different), so
instead only the default language rewrite slugs were used.