Fix another bug in the partition offset calculation.