Undo for team delete fix