Allow appending to buffer if new doc is equivalent to the greatest element