Fixing query strings.