diff --git a/python/dune/perftool/pdelab/localoperator.py b/python/dune/perftool/pdelab/localoperator.py
index 5a7d2e3068e0ad82517e491aabb35e84fc3df7ef..a1f8e04417e2caae95135090578dc0fb9f69e01b 100644
--- a/python/dune/perftool/pdelab/localoperator.py
+++ b/python/dune/perftool/pdelab/localoperator.py
@@ -334,7 +334,7 @@ def _list_infos(expr, number, visitor):
     elif visitor.measure == "interior_facet":
         restrictions = (Restriction.NEGATIVE, Restriction.POSITIVE)
     for res in restrictions:
-        for ei in range(element.num_sub_elements() + 1):
+        for ei in range(element.value_size()):
             yield PDELabAccumulationInfo(element_index=ei, restriction=res)