Fixed a bug for Derivatives with shared underlyings are modeled