commit broken attempt to abstract queries in lib/snort_report