fix default options merging into user options

Hi!

Currently search options are overwritten by the default_opts hash. The expected behavior is to allow default options to be overwritten by the user options.

Thanks!