Reindent line causing iterators to spin forever