We are sorry to hear of your miscarriage.
With respect to
this halacha, we are stringent in cases of doubt.
The
yoledet status depends on the interval from the date of the first act of relations after immersion (in most cases, the same date as immersion) to the date of the miscarriage (even where signs of life were not detected earlier). Therefore, you should indeed wait fourteen days prior to immersion.
Please let us know if we can be of further assistance.