Fixed crash when last used spelling dictionary was deleted