A......... [ZBX-7983] fixed undefined indexes due to merge from 2.2