fix inspection of Query results