fix for Map.collection_has when array