core: fix for when there are more than one qs parameters in ws url