normally in transvaginal ultrasound
heart beat can be detected by 6 completed weeks,
if you crossed that period then the possibility of blighted ovum
HCG levels will not immediately come to zero after miscarriage that may be one reason for your positive pregnancy
if you do not crossed 6 weeks better check by ultrasound after one week, meanwhile take drugs to stop bleeding with your doctor's advice.