Fixes https://bugs.launchpad.net/jio/+bug/1322142