Sequence iterator clean-up

no cog yay
Merge pull request #361 from ElBrogrammer/brah-iter-fix-brah

Sequence iterator clean-up