..F....... [ZBX-8524] Fix conditions for changing triggerid.
..F....... [ZBX-8670] restored incorrectly deleted code