How many months/weeks pregnancy are you now?
I ate raw/fresh pineapples when I was pregnant and nothing happen. But if I take cranberry juice/fruit, I will start to have tummyache shortly after.
I suppose the tarts are fine but try just some and see how you react to it. Eat everything in moderation and you should be fine.