WORDS-419 - add checking for null or empty value before sending to TextRefiner