Refined the sanity check [skip hazardlib][demos]
Refined the sanity check [skip hazardlib][demos]


Former-commit-id: b419428f8243401c053fe9c59cae93aa31ef12ec [formerly b419428f8243401c053fe9c59cae93aa31ef12ec [formerly c5a23dc2922919398658828643486cc83acbc551]]
Former-commit-id: 5640af796deca3b735de296b9db103dfbb7f2798
Former-commit-id: e20974eed6a4e649978f042252d9dcfb34683192
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine