Fixed bug in 'countMisspelledWords'