When two copies of a result merge, the higher-ranked copy wins, and a flag only the other copy carried is dropped. If the flag decides whether the run counts, a lower copy can flip the outcome.
When merging duplicates, OR their deciding flags. Ranking and authority are separate fields.
Test the merge where the weaker copy holds the flag. That case breaks.
Test the merge where the weaker copy holds the flag. That case breaks.