Fixed bug reported by pyst4r
https://github.com/webSPELL/webSPELL-4.2.3/pull/8#commitcomment-4868152