title: Predicate quandary
body: <p>I want to modify some Core Data entities via a <code>for in</code> loop. The fetched objects should be filtered via a predicate. But the loop never fires because no objects are fetched. </p>
  
  <p>I suspect there's an issue with the predicate, although I've vetted it pretty closely. Here's the code:</p>
  
  <pre><code>NSString *replenishString = @"Replenishment";
  NSDate *now = [NSDate date];
  
  NSPredicate *transFRCPredicate = [NSPredicate predicateWithFormat:@"(account == %@) AND ((transDate &gt;= %@) AND (transDate &lt;= %@)) AND (category != %@)",self.detailTransaction.account,self.detailTransaction.transDate,now,replenishString];
  
  
  NSFetchedResultsController *transactionsToAdjustFRC = [WMMGTransaction MR_fetchAllGroupedBy:@"account" withPredicate:transFRCPredicate sortedBy:@"transDate" ascending:NO];
  
  (...)
  
      for (WMMGTransaction *transaction in transactionsToAdjustFRC.fetchedObjects)
      {
          NSLog(@"Inside for loop--delta = %@",delta);
          transaction.category = @"Changed +";
  
          transaction.pointBalance = [transaction.pointBalance decimalNumberByAdding: delta];
          NSLog(@"Inside for loop--pointBalance = %@",transaction.pointBalance);
      }
  </code></pre>
  
  <p>Any ideas or guidance?</p>
  
  <p>Thanx!</p>