A small fix at search operation.