Restored the fix to dump_hazards accidentally lost
Restored the fix to dump_hazards accidentally lost


Former-commit-id: a2bb7d4cab610f96a7cacf9e9f471905ce811d47
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine