diff --git a/jhdf/src/main/java/io/jhdf/dataset/chunked/indexing/FixedArrayIndex.java b/jhdf/src/main/java/io/jhdf/dataset/chunked/indexing/FixedArrayIndex.java index 6947e956..8199bf91 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/chunked/indexing/FixedArrayIndex.java +++ b/jhdf/src/main/java/io/jhdf/dataset/chunked/indexing/FixedArrayIndex.java @@ -150,7 +150,7 @@ private FixedArrayDataBlock(FixedArrayIndex fixedArrayIndex, HdfBackingStorage h } } else if (clientId == 1) { // Filtered for (int i = 0; i < pageSize; i++) { - readFiltered(fixedArrayIndex, hdfBackingStorage, bb, i); + readFiltered(fixedArrayIndex, hdfBackingStorage, bb, chunkIndex++); } } else { throw new HdfException("Unrecognized client ID = " + clientId);