make smart connection check for 2 return flights