Fix anonymous variable name in iterator traversal