title: Why are Attributes in Nested Enities not evaluated when matching?
body: <p>we are using Marklogic DataHub QuickStart Version 5.1.0 for Mastering customer data into a Golden Record. The Entity Structure where we have problems with looks like this</p>
  <pre><code>{
    &quot;envelope&quot;: {
      &quot;instance&quot;: {
        &quot;customer&quot;: {
          &quot;lastname&quot;: &quot;Examplelast&quot;,
          &quot;firstname&quot;: &quot;Examplefirst&quot;,
          &quot;phonenumbers&quot;: [
            {
              &quot;phone&quot;: {
                &quot;number&quot;: &quot;1234567890&quot;,
                &quot;ismobil&quot;: &quot;true&quot;
              }
            },
            {
              &quot;phone&quot;: {
                &quot;number&quot;: &quot;9876543210&quot;,
                &quot;ismobil&quot;: &quot;false&quot;
              }
            }
          ]
        }
      }
    }
  }
  </code></pre>
  <p>The Match Options definition looks like this</p>
  <pre><code>{
    &quot;matchOptions&quot;: {
      &quot;propertyDefs&quot;: {
        &quot;property&quot;: [
          {
            &quot;localname&quot;: &quot;lastname&quot;,
            &quot;name&quot;: &quot;lastname&quot;
          },
          {
            &quot;localname&quot;: &quot;firstname&quot;,
            &quot;name&quot;: &quot;firstname&quot;
          },
          {
            &quot;localname&quot;: &quot;phone.number&quot;,
            &quot;name&quot;: &quot;phone.number&quot;
          }
        ]
      },
      &quot;scoring&quot;: {
        &quot;add&quot;: [
          {
            &quot;propertyName&quot;: &quot;lastname&quot;,
            &quot;weight&quot;: &quot;5&quot;
          },
          {
            &quot;propertyName&quot;: &quot;firstname&quot;,
            &quot;weight&quot;: &quot;5&quot;
          },
          {
            &quot;propertyName&quot;: &quot;phone.number&quot;,
            &quot;weight&quot;: &quot;25&quot;
          }
        ]
      }
    }
  }
  </code></pre>
  <p>The first problem is that we can´not select the &quot;number&quot; attributes from the Match Options (only &quot;phonenumbers&quot; can be selected. So we edit the flow file on system level, writing &quot;phone.number&quot; with the weight definition to the file (can not be edit via the UI afterwards).
  Starting the flow, we receive no error but also no match for the &quot;phone.number&quot; after the run.</p>
  <p>Any ideas how to solve this topic?
  Many thanks
  Andreas</p>