Fixed the deep sleep stats not working bug in time in stats