Fix of statistics service. Cron scheduled method was not working because of missing @Transactional annotation. Method was also renamed, because if cron expression is changed it does not have to be at midnight.