Fix an extract bug discovered by Catalina [skip hazardlib]
Fix an extract bug discovered by Catalina [skip hazardlib]


Former-commit-id: 2f8228f19cbea4ca89c69ea7a8406073a3905cae
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine