Thanks for query,
It seems that your 2 miscarriages might have due to cervical tear in the past.
I wonder why it was unnoticed in ultra sound
Ok no problem, you go for cervical tear repair,after that there wont be any problem for pregnancy
You go for ultra sound to rule out any other pathology in the uterus
Ok and bye.