Changes to flight leg parsing to get it to work