Switch summary queries to level based.