fixed logic bug with search values