Fix crash on access to now local statistics variable