Minor improvement of DayStats performance