Allow for strings in iex h helper

Fixes #1540.