Fix node selection in AbstractBranchSelectionDialog