Fixed branch assignment issue.