Here we are again with yet another failing of our stupid bloody simpleton's understanding of justice and the system we built around it. With all the research we have the shows the complex biological and social roots of deviant behaviour, the best we can still do for those who stray is lock them in boxes somewhere out of sight.
Even without what appears to be an appalling display of neglect and incompetence on the part of prison staff, who actually benefits from separating the mother from the child just to keep her in prison? The mother? I can't begin to imagine how she must feel right now. The child? Evidence suggests post-partum mother-child bonding is absolutely critical to normal social development.
As far as I can tell the only people really benefiting from this are the commenters on the CBC report who feel better having brayed righteously about how the mother should not broken the law if she didn't want to give birth in jail.