Fix #1324162 [Authors gives   error: unhandled exception  /  IndexError:string index out of range](https://bugs.launchpad.net/calibre/+bug/1324162)