[ArmZabbixAPI] Use getFirstOrLastEventId() function instead of
getFirstEventId() and getLastEventId() functions.