title: indexOfObject:inSortedRange:options:usingComparator returns wrong index
body: <p>i have tried following method to search an object using binary search but the result is coming some garbage value.</p>
  
  <pre><code>    NSArray *orderedSet = [[NSArray alloc]initWithObjects:@2,@3,@5,nil];
      NSLog(@"%@",orderedSet);
  
      NSLog(@"%lu",(unsigned long)[orderedSet indexOfObject:@3 inSortedRange:NSMakeRange(0, 3) options:NSBinarySearchingFirstEqual usingComparator:^NSComparisonResult(id obj1, id obj2) {
          return [obj2 compare:obj1];
      }]);
  </code></pre>
  
  <p>It output the 9223372036854775807, Can anyone let me know what i am doing wrong here.</p>