Fixed MasterPortfolioWriter so it recognises identical securities