Fix ArrayObject with immutable array