Fix eventlog query.