Fix wrong parsing of arguments that prevented extra params to appear in the url