Fixes issue where statistics would not show up correctly