Compact for {...} iterator to allow it to run on Mac OSX, fixes #1
Merge pull request #2 from shadowhand/bugfix-1-iterator-error

Compact for {...} iterator to allow it to run on Mac OSX, fixes #1