Fix select error to actually be a string
Merge pull request #816 from psav/fix_select_error

Fix select error to actually be a string