Miscarriage after Mirena removal

I had my mirena removed in November of 2017 and my cycles took months to get back to normal. In June when I thought my cycles were back to normal I got opks and found out I was ovulating around the 22nd or so. I found out I was pregnant July 4th and we were so excited but July 16th I started cramping and bleeding and we found out that I had miscarried. The whole time I was on mirena and for months after I felt like my hormones were just out of wack. So I’ve been wondering if the mirena could be to blame for my miscarriage. Has anyone else experienced anything like this and if so did you go on to have a healthy pregnancy after. I’m just worried about it happening again. Before I got the mirena I had my son who is now 5 so I know my body was able to carry a child before the mirena but I’m just worried the mirena messed me up.