It sounds like quite a few of us have had similar near misses waiting at junctions to turn right onto a main road and it sounds like most were due to poor signalling by another driver. I've been in the same position myself but these days I always wait until the road is clear.

 

I was once given some sound advice by a driving instructor which has served me well.

Assume that every other driver on the road is an idiot.