anchor.diff:                      tree_replies(PrevReplies, tree_sort(RawReplies)),
               NumLeafs = couch_key_tree:count_leafs(PrevReplies),
               SameNumRevs = length(RawReplies) == NumLeafs,
  -            QMet = AllInternal andalso SameNumRevs andalso ReplyCount + 1 >= R,
  +            QMet = AllInternal andalso SameNumRevs andalso QuorumReplies,
               {NewReplies0, QMet, Repair0};
           false ->
               {NewReplies0, MinCount} = dict_replies(PrevReplies, RawReplies),
  
positive.code:     worker_count,
      workers,
      reply_count = 0,
      r,
      revs,
      latest,
  
negative.code:         r = R,
          revs = Revs,
          latest = Latest,
          repair = InRepair,
          reply_error_count = ReplyErrorCount
      } = State,
  
      IsTree = Revs == all orelse Latest,
  
      % Do not count error replies when checking quorum
      QuorumReplies = ReplyCount + 1 - ReplyErrorCount >= R,
  
      {NewReplies, QuorumMet, Repair} = case IsTree of
          true ->
  