Tweaks to make platform calcs work

Needed for https://bugs.launchpad.net/oq-platform/+bug/1234765.