Protect against iterating over custom/inherited array members such as methods from prototype/decorating.
Merge pull request #456 from farvour/master

Protect against iterating over custom/inherited array members