Adding refreshIndex fixes the partial update test.