Output mean_date and mean_date_weighted
Bug fix from last commit