Don't mutate array while iterating
Merge pull request #2 from Tout/feature/crash_fix

Crash fix: Don't mutate array while iterating