iterator_traits fix in wrap_iter