Add option variable (enable_past_register), that allow register to event which past closed date
fix enable_past_register function