Adding disambiguation logic and stub disambiguation method. If (select automatically) is chosen and more than one tree matches the query, a disambiguation page will be shown.