A......... [ZBXNEXT-1133] Implement proper next formula ID calculation in CConditionHelper::getNextFormulaId().