Mandurah mother's obsessive compulsive disorder led to fears of harming her children