This Fixes #1061

I think you mean to do `search_err_msg.join('')` here, there are extraneous commas being added.