MVStore: updates that affected many rows were were slow in some cases if there was a secondary index.