Fix row deletion