Fix deleted list items reappearing bug