Fixed the isArray polyfill