Fixed bug with forEach iterators.