Fixed a problem that occurred when looking up words with apostrophes