Fix undefined variable in Uri::query()