Fixing incorrect etag check