Fixes the number of events using a limit rather than expiry time