CLDIDE-1838 Automatic selection of same branch