anchor.diff:  find_next_clients(Table, ClientKey, KeyBin, EndKey) ->
       find_next_clients(Table, ClientKey, binterm_to_term_key(KeyBin), KeyBin, EndKey).
   
  +-spec find_next_clients(binary(), list(), list(), atom() | binary(), binary()) -> tuple().
   find_next_clients(_Table, [A, B] = ClientKey, [A,B| _] = _Key, KeyBin, _EndKey) ->
       {ClientKey, KeyBin};
   find_next_clients(Table, ClientKey, [_,_] = Key, KeyBin, EndKey) ->
  
positive.code: 
  -spec find_deleted(atom(), binary(), binary(), binary(), boolean()) -> list().
  find_deleted(Table, Key, EndKey, Text, DelStatus) ->
      find_deleted(Table, Key, EndKey, Text, DelStatus, length(binterm_to_term_key(Key)) + 1, []).
  
  -spec find_deleted(atom(), binary(), binary(), binary(), boolean(), integer(), list()) -> list().
  find_deleted(_Table, Key , EndKey, _Text, _DelStatus, _Len, Acc) when Key > EndKey -> Acc;
  find_deleted(_Table, '$end_of_table' , _EndKey, _Text, _DelStatus, _Len, Acc)  -> Acc;
  find_deleted(Table, Key , EndKey, <<>>, true, Len, Acc) ->
      NewAcc =  case imem_meta:read(Table, Key) of
          [#skvhHist{cvhist = [#skvhCL{ovalue = Value, nvalue = undefined}| _]}] ->
              Acc ++ [{binterm_to_term_key(Key), Value}];
          _ ->
              Acc
      end,
      NextKey = find_deleted_next(Table, imem_meta:next(Table, Key), EndKey, Len),
      find_deleted(Table, NextKey, EndKey, <<>>, true, Len, NewAcc);
  find_deleted(Table, Key , EndKey, <<>>, false, Len, Acc) ->
      NewAcc =  case imem_meta:read(Table, Key) of
          [#skvhHist{cvhist = [#skvhCL{nvalue = Value}| _]}] ->
              Acc ++ [{binterm_to_term_key(Key), Value}];
          _ ->
              Acc
      end,
      NextKey = find_deleted_next(Table, imem_meta:next(Table, Key), EndKey, Len),
      find_deleted(Table, NextKey, EndKey, <<>>, false, Len, NewAcc);
  find_deleted(Table, Key, EndKey, Text, true, Len, Acc) ->
      NewAcc =  case imem_meta:read(Table, Key) of
          [#skvhHist{cvhist = [#skvhCL{ovalue = Value, nvalue = undefined}| _]}] ->
              [LValue] = imem_index:vnf_lcase_ascii(Value),
  
negative.code:         find_deleted_clients(HistTableName, NewClientKey, NextKey, Key2, LText, Limit, []) end,
      imem_meta:return_atomic_list(imem_meta:transaction(SearchFun)).
  
  -spec find_deleted_clients(atom(), list(), binary(), binary(), binary(), integer(), list()) -> list().
  find_deleted_clients(_Table, _ClientKey, _Key, _EndKey, _Text, 0, Acc) -> Acc;
  find_deleted_clients(_Table, _ClientKey, Key , EndKey, _Text, _Limit, Acc) when Key > EndKey -> Acc;
  find_deleted_clients(_Table, _ClientKey, '$end_of_table' , _EndKey, _Text, _Limit, Acc) -> Acc;
  