I had miscarriage in April 2020 (5.5 weeks) and conceived in end June 2020 again. you try testing in another 1 to 2 weeks time, test in the morning more accurate.
could be since you just miscarriage the hcg level is still elevated. Wait for at least another 2 weeks.