Hey Addie,
I just found this on a babycentre website.
( https://www.babycenter.in/pregnancy/nutrition/foodsafety/cheeseexpert/)
*****
Cheese is an important source of protein and calcium for pregnant women but certain kinds do need to be avoided. Pregnant women are advised not to eat soft, mould-ripened cheeses, such as brie or camembert, and blue-veined cheeses, such as danish blue and stilton. This is because these cheeses are more inclined to allow growth of bacteria, such as listeria, which can harm your unborn child.
However, thorough cooking should kill any listeria, so it should be safe to eat food containing soft mould-ripened or blue-veined cheeses, provided the food has been properly cooked and is piping hot all the way through.
*****
So I would say you are fine. As long as it's cooked all the way through, no problem at all. I think it's more raw cheese that we need to be careful about. Alot of the soft cheese' here in Canada are already pasteurized so I can still eat them. That might be the same for you.
Don't worry too much, I am sure half a perogie is fine!