Statistics bug fix.