Fix is-string helper