........S. [ZBX-3163] fixed trigger evaluation order so that it takes dependencies into account