title: ALAssetsLibrary seems to return wrong number of my photos
body: <p>When I use ALAssetsLibrary to get local photos it works fine. But after I delete some photos with the 'Photos' application my app crashes.</p>
  
  <p>Crash info is: </p>
  
  <p><code>"Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSOrderedSet enumerateObjectsAtIndexes:options:usingBlock:]: index 14 beyond bounds [0 .. 9]'".'14'</code> </p>
  
  <p>It looks like the number of local photos still remains the same as befoore. And even after I  quit my app and restart it again, it still crashes.</p>
  
  <p>Local photo access code:</p>
  
  <pre><code>dispatch_async(dispatch_get_main_queue(), ^
  {
     @autoreleasepool 
     {
         ALAssetsLibraryAccessFailureBlock failureblock = ^(NSError *myerror)
         {
             NSLog(@"error occour =%@", [myerror localizedDescription]);
         };
  
         ALAssetsGroupEnumerationResultsBlock groupEnumerAtion = ^(ALAsset *result, NSUInteger index, BOOL *stop)
         {
             if (result!=NULL) 
             {
                 if ([[result valueForProperty:ALAssetPropertyType] isEqualToString:ALAssetTypePhoto]) 
                 {
                     [self.g_imageArray addObject:result];
                 }
             }
         };
  
         ALAssetsLibraryGroupsEnumerationResultsBlock
         libraryGroupsEnumeration = ^(ALAssetsGroup* group, BOOL* stop)
         {
             if (group == nil) 
             {
                 return;
             }
  
             if (group!=nil) {
                 [group enumerateAssetsUsingBlock:groupEnumerAtion];
             }
         [self updatephotoList];
         };
  
         self.library = [[ALAssetsLibrary alloc] init];
         [self.library enumerateGroupsWithTypes:ALAssetsGroupSavedPhotos
                                usingBlock:libraryGroupsEnumeration 
                              failureBlock:failureblock];
     }
  });
  </code></pre>
  
  <p>If I take another photo with system camera, my application does OK again.</p>