Fixed decoding [skip hazardlib][demos]
Fixed decoding [skip hazardlib][demos]


Former-commit-id: a11d78415f407fb851442c2a4e15ced1dd63e636 [formerly 58a4c74f44e1b5f182921e65128893ae982bda5c]
Former-commit-id: 54f3fc4fb7d479123867f99d109395390435f9a3
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine