Fixing (choose best match) + (open in tree viewer) bug.