Fix core on table destroy inroduced by table values code.
Rename @ti array copy to 'ti_copy'.