Better handling of parsing fragment-only uris