Added check for empty words before running through the spell checker.