bug with arrayIntersection ensureIsCollection