title: "Cannot Convert Lambda Expression to Delegate type" Error in RavenDB query
body: <p>I have a RavenDb document that looks like this:</p>
  
  <pre><code>{
    "ParentId": null,
    "Order": 10,
    "Url": "/sandbox",
    "Rows": 
    [
      {
        "InstanceId": "2771a0d7-7f3f-4854-a3ba-27f25f88a45e",
        "CSSClass": null,
        "Columns": 
        [
          {
            "InstanceId": "b91495f5-b770-4da7-8073-ad3bd8221ca8",
            "CSSClass": null,
            "Span": 3,
            "CMSModuleInstanceSettings": 
            [
              {
                "$type": "ModuleHTML.Models.ModuleHTMLInstanceSettings, ModuleHTML",
                "IsActive": false,
                "ShowAuthor": false,
                "ShowDate": false,
                "ShowCommentsCount": false,
                "ShowLast2Comments": false,
                "CMSModuleInstanceId": 417,
                "ContainerClass": "default",
                "ModuleType": "ModuleHTML",
                "DisplayType": "Summary"
              },
              {
                "$type": "ModuleHTML.Models.ModuleHTMLInstanceSettings, ModuleHTML",
                "IsActive": false,
                "ShowAuthor": false,
                "ShowDate": false,
                "ShowCommentsCount": false,
                "ShowLast2Comments": false,
                "CMSModuleInstanceId": 545,
                "ContainerClass": "default",
                "ModuleType": "ModuleHTML",
                "DisplayType": "Summary"
              }
            ],
            "Id": 0,
            "Name": null,
            "CreatedOn": "0001-01-01T00:00:00.0000000",
            "CreatedBy": 0,
            "LastModifiedOn": "0001-01-01T00:00:00.0000000",
            "LastModifiedBy": 0
          },
          ...
        ],
        ...
      },
      ...
    ],
    ...
  }
  </code></pre>
  
  <p>and I want to retrieve the page document and include the rows, columns and then only the CMSModuleInstanceSettings that are active.</p>
  
  <p>I have tried:</p>
  
  <pre><code>var page = documentSession.Query&lt;CMSPage&gt;()
               .SingleOrDefault(p =&gt; p.Id == pageId)
               .Rows
               .Any(x =&gt; x.Columns
                 .Any(z =&gt; z.CMSModuleInstanceSettings
                   .Where(m =&gt; m.IsActive == true)));
  </code></pre>
  
  <p>but it returns :</p>
  
  <pre><code>Error 1 Cannot convert lambda expression to delegate type
  'System.Func&lt;CMS.Models.CMSColumn,bool&gt;' because some of 
  the return types in the block are not implicitly convertible 
  to the delegate return type
  </code></pre>
  
  <p>What am I doing wrong?</p>