use .inspect method rather than .to_s method on @search_elements, for ba...

...ckward compatibility on Ruby 1.8 addressing issue #114