Remove duplication hazard risk

This is the companion pull request to https://github.com/gem/oq-engine/pull/1368