The date of the statistics data was using the date of the regenerate command parameter. This was ok for the nightly builds but definitly not for bulk regeneration
NoMethodError: undefined method `project_id' for #<Hash> app/services/statistics/concerns/projects_concern.rb:50:in `project_info_stat'