AFNetworking/AFNetworking — pull request #2061 by andrewchae (2014-05-13 15:48:24+00:00)
Title: Fixes #2020 - Race Condition in UIImageView+AFNetworking for different URLs as well

I was seeing a similar race condition to #2020 even when using URL requests with different URLs. This was happening to me 100% on a UICollectionView when the images had been cached to the NSURLCache disk cache. Moving the operation check to the outer if statement fixed the issue for me.