Validate uniqueness of queries by query/match_type.

Unique queries by string & match type is the intended use of the system.  Behaviour when duplicates exist is undefined.