........S. [ZBX-8873] fixed incorrect event being generated after maintenance in case there are out of order events due to proxy