Fix ranking when multiple regions overlap

e.g.
  Match region #1: [-----------]
  Match region #2:       [---]
  Match region #3:         [------]