[ZabbixAPIEmulator] Fix wong checks for number of events