iterate the iterator

It works better this way.  Trust me.

Signed-off-by: Seth Jennings <sjenning@redhat.com>