BugFix usage of Array.isArray