Fix tree view using wrong branch.