title: Drools update nested member attribute
body: <p>I'm facing a problem while using Drools.
  I try to update an attribute from a nested member. The update seems to work, but the when clause do not consider it.</p>
  
  <p>I have 2 Obj object, sharing the same Cpt object.</p>
  
  <pre><code>Cpt cpt = new Cpt();
  
  Obj obj1 = new Obj("obj1");
  obj1.setComposant("R2");
  obj1.counter = cpt;
  
  Obj obj2 = new Obj("obj2");
  obj2.setComposant("R2");
  obj2.counter = cpt;
  
  kSession.insert(obj2);
  kSession.insert(obj1);
  </code></pre>
  
  <p>My rule is define as:</p>
  
  <pre><code>rule "R2"
      when
          m : Obj(composant == "R2" &amp;&amp; counter.value == 0)
      then
          System.out.println(m.getName() + " " + m.getCounter().getValue());
          m.getCounter().increment();
  end
  </code></pre>
  
  <p>I was expecting Obj1 to match the when clause, then update the value of the counter (from 0 to 1). So the Obj2 should not match the where clause.
  But in fact, it does, even if the display is as I expected :</p>
  
  <pre><code>obj1 0
  obj2 1
  </code></pre>
  
  <p>Can someone explain me what am I doing wrong ?</p>