Update the search_compare script so it actually can update a branch to the same level as another one