Correctly set foreground branch.