Fix _visit iteration.