Fix bug with new branches.