Fixed bug with multiple scopes not being built properly in the url.
Comma seperated list was being created instead of space seperated