title: UICollectionView setCollectionViewLayout error validateLayoutInRect
body: <p>I have collectionView with two custom layouts, if some action happens I'm removing two items from data source and trying to set different collection view </p>
  
  <pre><code>    [self.tabCollectionView setCollectionViewLayout:self.basicFlowLayout animated:NO];
  </code></pre>
  
  <p>I'm getting error:</p>
  
  <pre><code>*** Assertion failure in -[UICollectionViewData validateLayoutInRect:], /SourceCache/UIKit_Sim/UIKit-2935.137/UICollectionViewData.m:357
  *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UICollectionView recieved layout attributes for a cell with an index path that does not exist: &lt;NSIndexPath: 0xbcecd60&gt; {length = 2, path = 0 - 4}'
  </code></pre>
  
  <p>However when I do that after removing only one item, animation works well. Also there is no problems on iOS 7.
  Struggling with this whole day and can't find proper solution to fix it.
  Any ideas?</p>