Fixed runtime.iteration with iterators

--HG--
extra : amend_source : 12ee6a7f18ac56cca71f836897faa11f09d0156a