Fix loop through lag/stacktrace.