Fix race condition when unlinking simulation movement from deleted delivery line