Deal with malformed/no query string to Rack's satisfaction