merge missing check in find_worker_executing_work function.