Fixed crash in loading Statistics RegTest manually