Query model modified to know when a query has number fields for the reports.