Fixed #22907 -- Array contains must have same type.