anchor.diff:      NextKey = find_next_objects(Table, NKey, EndKey),
       find_deleted_objects(Table, NextKey, EndKey, Text, NewLimit, NewAcc).
   
  +-spec find_next_objects(binary(), atom() | binary(), binary()) -> atom() | binary().
   find_next_objects(_Table, '$end_of_table', _EndKey) -> '$end_of_table';
   find_next_objects(_Table, Key, EndKey) when Key > EndKey -> '$end_of_table';
   find_next_objects(Table, KeyBin, EndKey) ->
       find_next_objects(Table, binterm_to_term_key(KeyBin), KeyBin, EndKey).
   
  +-spec find_next_objects(binary(), list(), atom() | binary(), binary()) -> atom() | binary().
   find_next_objects(_Table, [_,_,_|_], KeyBin, _EndKey) ->
       KeyBin;
   find_next_objects(Table, [_,_] = Key, KeyBin, EndKey) ->
  
positive.code:         _ ->
              Acc
      end,
      NextKey = find_deleted_next(Table, imem_meta:next(Table, Key), EndKey, Len),
      find_deleted(Table, NextKey, EndKey, Text, false, Len, NewAcc).
  
  find_deleted_next(_Table, '$end_of_table', _EndKey, _Len) -> '$end_of_table';
  find_deleted_next(_Table, Key, EndKey, _Len)  when Key > EndKey -> '$end_of_table';
  find_deleted_next(Table, KeyBin, EndKey, Len) -> 
      case length(binterm_to_term_key(KeyBin)) of
          N when N > Len -> find_deleted_next(Table, imem_meta:next(Table, KeyBin), EndKey, Len);
          _ -> KeyBin
      end.
  -spec search_deleted_clients(ddEntityId(), binary(), binary(), binary(), binary(), integer()) -> list().
  search_deleted_clients(_User, Channel, Text, CKey1, CKey2, Limit) ->
      [Key1, Key2, LText, HistTableName] = search_deleted_init(CKey1, CKey2, Text, Channel),
  
negative.code: find_deleted_objects(Table, Key, EndKey, Text, Limit) ->
      find_deleted_objects(Table, Key, EndKey, Text, Limit, []).
  
  -spec find_deleted_objects(atom(), binary(), binary(), binary(), integer(), list()) -> list().
  find_deleted_objects(_Table, _Key, _EndKey, _Text, 0, Acc) -> Acc;
  find_deleted_objects(_Table, '$end_of_table' , _EndKey, _Text, _Limit, Acc) -> Acc;
  find_deleted_objects(Table, Key , EndKey, <<>>, Limit, Acc) ->
  