NestedIterator Assistance

Hello everyone,

Metric_fu is informing me of some nested iterators, and I was hoping to
gather some advice on how to refactor this method to make it more
correct. Hopefully this will assist me in refactoring many other

Code is here:

Any thoughts on this?

Thank you in advance!
Andrew D.

Oops, it appears I’ve posted this in the wrong forum. I apologize.