Fix case when trip_class not presented in search_id (legacy)