title: Realm LazyFilterBidirectionalCollection error Swift 3
body: <p>I just updated my project to swift 3.</p>
  
  <p>I am still very green in Swift features.
  Anyway, i had this query's method witch was working fine, </p>
  
  <pre><code>func getAllPointsWithCategory(_ idCategory:String) -&gt; [Point] {
      let realm = try! Realm()
      let containingPOI = realm.objects(Point.self).filter({ (poi) -&gt; Bool in
          return poi.categories.contains(where: { (cat) -&gt; Bool in
              return idCategory == cat.id
          })
      })
  
      return containingPOI
  }
  </code></pre>
  
  <p>after the update I started to receive this error:</p>
  
  <blockquote>
    <p>Cannot convert return expression of type 'LazyFilterBidirectionalCollection>' to return type '[Point]'</p>
  </blockquote>
  
  <p>What am I doing wrong in this?</p>
  
  <p>Thanks in advance for any help</p>