Update equality to check for cache pieces.