Essentially, yes.
Obviously, she still killed her children.
But, not knowing anything about the case, it's not hard to imagine that some sort of mental illness must be at play here.
And, if that's the case, you can't really ascribe culpability to her the same way you would a person of sane mind.
What it means, in the end, is that we still haven't figured out how to treat people to avoid crimes of this kind.
Because, just because the mother seems to have been mentally ill and thus possibly not entirely responsible for her actions, does not mean that these children deserved to die.