Fix reselection on remove row/column in tables, remove table if empty.