should have resolved issue with invalid trip creation, but flights are inserted in reverse