Re-enables branch chooser function which wasn't working.