Fix the _isArray function.