Fix delete[] for ArrayObject