title: Firebase Transaction MutableData showing Nil
body: <p>I have a path that I run a Transaction on. I check to see if the value is nil before proceeding. If it is nil I abort and if not I continue. The issue is the value isn't nil but the mutable data is saying it is.</p>
  <p>db:</p>
  <pre><code>@posts
     @postId_abc
        -date: ....
        -views: 0
  </code></pre>
  <p>Transaction:</p>
  <pre><code>let viewsPath = Database.database().reference()
                     .child(&quot;posts&quot;)
                     .child(&quot;postId_abc&quot;)
                     .child(&quot;views&quot;)
  
  viewsPath.runTransactionBlock({ (mutableData: MutableData) -&gt; TransactionResult in
  
      let doesViewsExist = mutableData.value as? Int // I also tried Double
      if doesViewsExist == nil {
                          
          return TransactionResult.abort() // &quot;views&quot; value is 0
      }
  
      // ...
  }
  </code></pre>