Pattern-match: fix matching phrases in any order.