Fix table row deletion