Fix array reference to object property