fix for #63: ignoring queries in URIs