Fix proxy instance equality.