Fixed the case of no stats [skip hazardlib]
Fixed the case of no stats [skip hazardlib]


Former-commit-id: 0040c5625670d4d4fe9b3995dacfd92b842b0a45 [formerly 8e765a6bfcfdfc8ab40bc09914fc66e2d53b3bf8]
Former-commit-id: 222b4168a52ff6d5f227e3833873e49e092de4e4
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine