Fixed a bug where not all flights would be booked