Move the serviceday loop also in the search_trip function