Fix for trq-2312: MOM crash after a restart from a regression test.