Fixed searchoption when search type is set