Fix iterators.
Fix iterators.

Two things first the iterator wasn't considered to be empty.
Second the loop written such assumes chances to the collection
within the loop which is not the case.

karies/cling,marsupial/cling,root-mirror/cling,marsupial/cling,root-mirror/cling,perovic/cling,marsupial/cling,root-mirror/cling,perovic/cling,perovic/cling,karies/cling,marsupial/cling,marsupial/cling,karies/cling,root-mirror/cling,perovic/cling,root-mirror/cling,karies/cling,root-mirror/cling,marsupial/cling,karies/cling,perovic/cling,karies/cling