i had a miscarriage back in apr and was following strict confinement diet, which got me into serious constipation and excruciating anal tears and piles. The diet has indeed not helped me, but harmed me, and also i was in so much pains, went to so many doctors, almost ended up in surgery before it finally calmed down after 5 months, and trying to concieve now.
Thus, my suggestion to you is to eat all things with moderation. Fruits are nutritious, they won't and shouldn't harm. I once asked my gynae if i could eat pineapple, he said "why not? Do you know you can only get contractions from it unless you eat a truck load of it?"