Merge url query from path and query option