Miscarriage and pregnancy

How many weeks did having a miscarriage right before a positive hpt throw off your due date? I had a miscarriage April 18, 2019 with a positive hpt May 21 and still don’t know my actual due date. Could have been Jan 23, Jan 28 or feb 03!!!!!! All this confusion messing with my head.