uct_search(): Tidy up the desired_done tests