Fix typeof-array-check
Merge pull request #140 from fpauser/helpers_fix

Fix typeof-array-check