Fixed setParent for ArrayAttributes