Added ability to process X events in the events job.