[ZabbixAPIEmulator] Simplify checking range of events
[ZabbixAPIEmulator] Avoid exceeding existing event ID