Moved identification of missing arrivals to dedicated function integrate_with_missing_arrivals