Fix statistics report preview (fixes #460)