...G...... [ZBXNEXT-2320] backported fix from ZBX-8213