Fix crash when requesting typewrite statistics