Fix ArrayObject constructor