Bug #86: Apply unique prio for all matches

This was also suggested by Carl Byington.

Signed-off-by: Daniil Baturin <daniil@baturin.org>
0.15.42+vyos1+helium2