Fix gmf duplication

The engine is generating more realizations than really needed, see https://bugs.launchpad.net/oq-engine/+bug/1320904