Convert words to string before downcase to avoid type conversion errors.