See https://bugs.launchpad.net/oq-engine/+bug/1183329 which I have already implemented, you will see a PR very soon ;-)