Fix #1333459 [Edit Book: Starting mdash breaks spellchecking](https://bugs.launchpad.net/calibre/+bug/1333459)

(regression introduced by performance optimizations from yesterday)