"WE had twins so SHE wasn't going back to work anyway"
I'd say you were discriminating her way more than Google.
Kids are ruinous for women careers but only partly for practice like one described.
The other reason is that we as families, partners and society in general accept that kids are, essentially, a woman job.