Added a check for no stats [skip CI]
Added a check for no stats [skip CI]


Former-commit-id: 8f56aa7411358400274c7cb145134f98807cd836 [formerly 8f56aa7411358400274c7cb145134f98807cd836 [formerly ef3347af85ba7963ecde7f195eb7fea54687701d]]
Former-commit-id: dff1dfd8b3313fba30c358a2b56fa4c7bb522531
Former-commit-id: 99311b9d69723a25ec4c931d197e17fd9f4865dc
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine