Happens all the time. Best way to mitigate is making it hard to overtake at places when it's dangerous.Do you drive?
No one is going to overtake when another car is coming that would be dangerous whether riders were in single file or riding two abreast.
The world isn't a binary place where there is always a right or wrong way to use the road. A bit of common sense from all road users makes like better for everyone if we ride/ drive to the conditions.