fixed regression that took future registrations into account when calculating statistics