Removed some more unneccessary code from replace_missing_word.