Fix gmf duplication

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