Fix null statistics assignment