anchor.diff:  	end,
   	NewChunk = lists:dropwhile(Fstart, Chunk),
   	get_range2(Log, End, {Cont, NewChunk}, Acc).
  -%% @hidden
  -get_range2(_Log, _End, eof, Acc) ->
  -	lists:flatten(lists:reverse(Acc));
  -get_range2(_Log, _End, {error, Reason}, _Acc) ->
  -	{error, Reason};
   get_range2(Log, End, {Cont, Chunk}, Acc) ->
   	Fend = fun(R) when element(1, R) =< End ->
   				true;
  
positive.code: 			auth_query2(Start, End, Protocol, Types, ReqAttrsMatch,
  					RespAttrsMatch, {Cont, Chunk}, Acc, T1);
  		_ ->
  			auth_query(Start, End, Protocol, Types, ReqAttrsMatch,
  					RespAttrsMatch, {Cont, T}, Acc)
  	end;
  auth_query2(Start, End, Protocol, Types, ReqAttrsMatch,
  		RespAttrsMatch, {Cont, [H | T]}, Acc, []) ->
  	auth_query(Start, End, Protocol, Types, ReqAttrsMatch,
  			RespAttrsMatch, {Cont, T}, [H | Acc]).
  
  -spec auth_close() -> Result
  
negative.code: %% @private
  %% @hidden
  get_range(Log, Start, End, Cont) ->
  	get_range(Log, Start, End, [], disk_log:bchunk(Log, Cont)).
  %% @hidden
  get_range(_Log, _Start, _End, _PrevChunk, {error, Reason}) ->
  	{error, Reason};
  get_range(Log, Start, End, PrevChunk, eof) ->
  	Chunk = [binary_to_term(E) || E <- PrevChunk],
  	get_range1(Log, Start, End, {eof, Chunk}, []);
  get_range(Log, Start, End, PrevChunk, {Cont, [H | T] = Chunk}) ->
  	case binary_to_term(H) of
  		Event when element(1, Event) < Start ->
  			get_range(Log, Start, End, T, disk_log:bchunk(Log, Cont));
  		_Event ->
  			NewChunk = [binary_to_term(E) || E <- PrevChunk ++ Chunk],
  			get_range1(Log, Start, End, {Cont, NewChunk}, [])
  	end.
  %% @hidden
  get_range1(Log, Start, End, {Cont, Chunk}, Acc) ->
  	Fstart = fun(R) when element(1, R) < Start ->
  