Fix search for itinerary by time in heroku.