title: NSPredicate predicateWithFormat @"ANY relationship.attribute == %@" throws exception
body: <p>I'm trying to display my Core Data info in TableViews, the first TableView displays all the regions in which photos have been taken, when you select a region, a segue is performed to the second TableView that displays all photos taken in that region. But when I select a region the compiler throws an exception</p>
  
  <p>This is the relationship between Photo entity and Region entity [Photo]&lt;&lt;->[Region]. The Photo has various attributes that are non relevant for this question and the Region has one attribute that is the "name" of the region called name. the Predicate I use to try to fetch the photos is the following [NSPredicate predicateWithFormat:@"ANY region.name ==[c] %@", self.region.name]. I pass the Region entity that was selected and the context in the prepareForSegue method in the previous ViewController.</p>
  
  <p>The expected result would be that the TableView displays all photos taken on that particular Region. The exception thrown by the compiler is this CoreData: error: SQLCore dispatchRequest: exception handling request:  , keypath name not found in entity  with userInfo of (null).</p>
  
  <p>Any help is appreciated.</p>