ArrayObjectAccessor typo

Handling of arrays and object in setProperty() was reversed.