Fix in initial portfolio rebalancing