Fix ramp that is expired before the first Event is processed. Added test