Typo fix

Should fix a crash I encountered. You might even consider using the for (T element : iterable) syntax, which I find to be more convenient.
Merge pull request #25 from benstreb/patch-1

Typo fix (actually, major crashing bug fix!)