bug fix: branch select wasn't being reselected (this is a shit way to do this anyway. clean)