Fix for Issue #86

Replacing 'for..in' loop with regular 'for' loop.
Merge pull request #87 from Askelkana/master

This looks good.  Thanks for the fix!