The previous condition was wrong: if a UE did not have the assoc_id of the DU that connected (i.e., it was connected to another DU then the one disconnecting), it was marked for deletion. Instead, skip those UEs.