URISupport.createURIWithQuery: case when uri has fragment and does not have query