Ignore empty strings for text selection.
They were causing double text selection.