Prevent list deletion from removing deleted tasks.