A......... [ZBX-6174] Improve code structure - move trigger unsetting into one loop.