Fixed error in processing branches. This was actually Justin.