Fix comparison of <select> value with search value when there is no search value.