sqlq: Use exact match if exists