This bug has been here for a few years now. The Mid Cap Stocks asset class appears in the listing of asset classes under the Allocations tab and a percentage can be set for it. But when you click the Rebalance Portfolio button, the Mid Cap Stocks asset class is not included making all the rebalancing amounts wrong.