Remove duplicate flights from the output