fix RepeatableIterator
Merge pull request #29 from dimagi/tweaks

fix RepeatableIterator