Fixed the delete action in the table.