Fixed error of mixing iterators from different collections (but same collection type).
Fixed error of mixing iterators from different collections (but same collection type).

ramcdona/Code-Eli,ddmarshall/Code-Eli