Fixed oversharding bug for pkey ranges.