Fixes handling of emptyString input for setDataValue