anchor.diff:          include_docs = IncludeDocs
       } = QueryArgs,
       
  -    fun({{Key, DocId}, Value}, OffsetReds, {AccLimit, AccSkip, Resp, RowFunAcc}) ->
  +    fun({{Key, DocId}, Value}, OffsetReds,
  +            {AccLimit, AccSkip, Resp, RowFunAcc}) ->
           case {AccLimit, AccSkip, Resp} of
           {0, _, _} ->
               % we've done "limit" rows, stop foldling
  
positive.code: doc_member(Db, {DocId, Rev}) ->
      ?LOG_DEBUG("Include Doc: ~p ~p", [DocId, Rev]),
      case (catch couch_httpd_db:couch_doc_open(Db, DocId, Rev, [])) of
          #doc{} = Doc ->
              JsonDoc = couch_doc:to_json_obj(Doc, []),
              [{doc, JsonDoc}];
          _Else ->
              [{doc, null}]
      end.
  
  finish_view_fold(Req, TotalRows, Offset, FoldResult) ->
  	finish_view_fold(Req, TotalRows, Offset, FoldResult, []).
  
  finish_view_fold(Req, TotalRows, Offset, FoldResult, Fields) ->
      case FoldResult of
  
negative.code:     (Key, Red, {AccLimit, 0, undefined, RowAcc0})
              when is_integer(GroupLevel), is_list(Key) ->
          % group_level and we haven't responded yet
          {ok, Resp2, RowAcc} = StartRespFun(Req, Etag, RowAcc0, UpdateSeq),
          {Go, RowAcc2} = SendRowFun(Resp2,
                  {lists:sublist(Key, GroupLevel), Red}, RowAcc),
          {Go, {AccLimit - 1, 0, Resp2, RowAcc2}};
      (Key, Red, {AccLimit, 0, Resp, RowAcc})
              when is_integer(GroupLevel), is_list(Key) ->
          % group_level and we've already started the response
          {Go, RowAcc2} = SendRowFun(Resp,
                  {lists:sublist(Key, GroupLevel), Red}, RowAcc),
          {Go, {AccLimit - 1, 0, Resp, RowAcc2}};
  
      (Key, Red, {AccLimit, 0, undefined, RowAcc0}) ->
          % group=true and we haven't responded yet
          {ok, Resp2, RowAcc} = StartRespFun(Req, Etag, RowAcc0, UpdateSeq),
          {Go, RowAcc2} = SendRowFun(Resp2, {Key, Red}, RowAcc),
          {Go, {AccLimit - 1, 0, Resp2, RowAcc2}};
      (Key, Red, {AccLimit, 0, Resp, RowAcc}) ->
  