Corrected the index of the partition data.