Updated indexes so sorted queries work in the browser.