Fixed market value calculation if instrument is held via 2 portfolios

Issue: #160