-- Handled divide by 0 case for active event history