avoid needless use of STAILQ_FOREACH_SAFE, we are not removing elements here