Modified the event processor to only accept events that are successful