Making the correct branch change