fix: event_filter data structure reading and algorithm on the engine