..F....... [ZBX-7983] added check if node gathering is necessary
A......... [ZBX-8194] fix order of validations