at my old job they hired a woman fresh out of college as a project hire (meaning for the life of the project although tons of project hires ended up permanent) and then like 6 months later she got pregnant, transitioned to an office job, then maternity or whatever then came back for like two months and got pregnant again.
they (at least or so i was told) were desperate to fire her, but were afraid to. i left before she came back from her second maternity leave so i don't have a resolution to the story.