title: Unable to use BsonIgnoreIfDefault for property of type long
body: <pre><code>[BsonDefaultValue(0)]
  [BsonIgnoreIfDefault]
  public long TotalItems { get; set; }
  </code></pre>
  
  <p>The attribute <strong>[BsonDefaultValue(0)]</strong> is preventing the complete document being inserted into the mongo whereas I just want to prevent storing TotalItems if its value is zero.
  If I don't use the attributes [BsonDefaultValue(0)], [BsonIgnoreIfDefault] the the document is inserted properly in the db with TotalItems is inserted in the document as <strong>"TotalItems" : NumberLong(0)"</strong> which I actually don't want to strore into db if its zero. My question why [BsonDefaultValue(0)], [BsonIgnoreIfDefault] attributes preventing the insertion of the complete document.</p>
  
  <p>Note: I am able to use the above two attributes with properties of type int.</p>