FEATURE: Badge query validation, preview results, and EXPLAIN