Fixed search option for default values. Also fixed bug that when searchtype was not set, default value did not work.