Fixing branch calculation issue.