[UPD] improve related_dispatch_ids fnct_search function