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.