message: Add collect_dependencies function to OrNode and NotNode
diff: @@ -1789,6 +1789,13 @@ public:
  return s;
  }
  + void collect_dependencies(std::vector<TableKey>& versions) const override
  + {
  + for (const auto& cond : m_conditions) {
  + cond->collect_dependencies(versions);
  + }
  + }
  +
  void init() override
  {
  ParentNode::init();
  @@ -1976,7 +1983,7 @@ public:
  return "";
  }
  - virtual std::string describe(util::serializer::SerialisationState& state) const override
  + std::string describe(util::serializer::SerialisationState& state) const override
  {
  if (m_condition) {
  return "!(" + m_condition->describe_expression(state) + ")";
  @@ -1984,6 +1991,13 @@ public:
  return "!()";
  }
  + void collect_dependencies(std::vector<TableKey>& versions) const override
  + {
  + if (m_condition) {
  + m_condition->collect_dependencies(versions);
  + }
  + }
  +
  std::unique_ptr<ParentNode> clone(Transaction* tr) const override
  {
  