Fix #1325709 [Private bug](https://bugs.launchpad.net/calibre/+bug/1325709)