diff --git a/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/gfse/GFSETable.java b/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/gfse/GFSETable.java index ed5df9a72..73c197616 100644 --- a/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/gfse/GFSETable.java +++ b/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/gfse/GFSETable.java @@ -99,7 +99,7 @@ private boolean hasScope(GFSETableCell[][] cells, int numberOfRows, int numberOf private boolean checkRegular(List listTR, GFSETableCell[][] cells, int numberOfRows, int numberOfColumns, List rowGroupingsIndexes) { - for (int rowNumber = 0; rowNumber < numberOfRows; rowNumber++) { + for (int rowNumber = 0; rowNumber < listTR.size(); rowNumber++) { int columnNumber = 0; for (PDStructElem elem : listTR.get(rowNumber).getStructuralSignificanceChildren()) { String type = elem.getstandardType();