Added check for intermediate departure times that take place before the previous flight lands.