Corrected statistic queries.