uct_prior_one(): Fix grandparent heuristic