[match-highlighter addon] Use primary selection, not first one

Closes #2539