Fix new incorrect error return from do_md_stop.