title: Realm model contains property but not found it at runtime
body: <p>I am getting error as below </p>
  
  <blockquote>
    <p>Invalid property name , reason: 'Property 'IsRecordDeleted' not found in object of type 'MyCustomModel'</p>
  </blockquote>
  
  <p>Where as my Model is as Under </p>
  
  <pre><code>@objcMembers public class MyCustomModel : Object {
  dynamic var   Id : String = ""
  dynamic var   ProductId : String? = ""
  dynamic var   IsRecordDeleted : Bool? = false
  dynamic var   ProductBarcode : String? = ""
  
  
  override public class func primaryKey() -&gt; String? {
      return "Id"
  }
  </code></pre>
  
  <p>}</p>
  
  <p>and I am making query like this :</p>
  
  <pre><code>let mSavedItems = mDbHelper.realmObj.objects(MyCustomModel.self).filter("IsRecordDeleted = false")
  </code></pre>
  
  <p>What could be problem here. I do not know why my app is crashing with the same error. But If I change the value like </p>
  
  <pre><code>    let mSavedItems = mDbHelper.realmObj.objects(MyCustomModel.self).filter("ProductId = 0")
  </code></pre>
  
  <p>The app gets run, but crashed on when I use IsRecordDeleted in predicate. </p>
  
  <p>Please tell me what could be problem </p>