Filtering a Core Data-based model with UISegmentedControl