title: Fluent NHibernate - Collections not filtering
body: <p>I have a session criteria statement (Fluent NHibernate) that does not seem to filter the child collection even though I have Expressions/Restrictions defined.</p>
  
  <pre><code>ICriteria criteria = session.CreateCriteria(typeof(MyClass));
  criteria.CreateAlias("MyCollection", "MC");
  criteria.Add(Restriction.Eq("MC.Property", value));
  IList&lt;MyClass&gt; list = criteria.List&lt;MyClass&gt;();
  </code></pre>
  
  <p>This returns all the objects of type <code>MyClass</code> that have <code>MyCollection.Property = value</code>, however <code>MyCollection</code> is not filtered to <code>MyCollection.Property = value</code></p>
  
  <p>It seems like only the Root objects get filtered.</p>
  
  <p>Thanks.</p>