BugFix usage of Array.isArray
Merge pull request #6 from Liksu/patch-1

BugFix usage of Array.isArray