ENH: Bug fixes in statistics reporting.