fix for delete of last row in array table