When stock levels are negative and then increased to exactly 0, the MAC becomes 0. Any fulfillments after that, making the stock go to negative, will use that MAC which is 0, which then results in a COGS of 0. Click here for information on correcting the MAC.