Fix early iteration break
Merge pull request #9 from jcrza/patch-8

Fix early iteration break