treat current selection as a string when type is unknown
Merge pull request #1311 from skurfer/selectionTypes

treat current selection as a string when type is unknown