Fixed error where clean_word returned an empty string