Fix 1144388

Addresses https://bugs.launchpad.net/openquake/+bug/1144388

Requires https://github.com/gem/oq-risklib/pull/37