Fix issue with total market value