Fix performance bug with view sorts.