This fixes the deletion/filtering of branches if there were multiple local branches tracking the same remote branch.