Fix and refactor moderation statistics