fixed reIndex for partitioned collections as well #982