title: MongoTemplate invalid projection with conflict path
body: <p>I am using Spring Data MongoTemplate to query docs.
  The document stored in the collection is structured as</p>
  <pre><code>{
    id: &quot;string&quot;, 
    metadata: { -- embeded structure},
    version:  {
                metadata: {
                  version: 1,
                  --  other fields
                },
                versionContent: { -- embeded structure --}
              }
  }
  </code></pre>
  <p>In my query, I only need a subset of fields, so the ProjectionOperation I use is</p>
  <pre><code>Aggregation.project(&quot;id&quot;, &quot;metadata&quot;, &quot;version.metadata&quot;);
  </code></pre>
  <p>Got the exception:</p>
  <pre><code>specification contains two conflicting paths. Cannot specify both 'metadata.version' and 'metadata'
  </code></pre>
  <p>What shall I do to deal with this?</p>