Fix delete action.