title: findOneAndUpdate return old document even {new:true} is passed
body: <pre><code>const query = { uuid: '12212121212112' };
  const values = { $set: {name:'av'} };
  const result = await databaseConnection.collection('person');
  let data = await result.findOneAndUpdate(query, values, { new: true });
  console.log(data) //old document getting printed
  </code></pre>
  <p>This is my code. In here I am using <code>{new: true}</code> but somehow still its returning the old document instead of the updated one.</p>
  <p>Configuration is-</p>
  <pre><code> &quot;mongodb&quot;: &quot;^3.5.7&quot;,
   &quot;mongoose&quot;: &quot;^5.9.17&quot;,
  </code></pre>
  <p>node version- <code>v14.17.3</code></p>
  <p>What is wrong with this?</p>
  <p>P.S.- In another project with the same configuration it's working fine.</p>