.ToItemInfo.ContentsForSale Returns FALSE
The datatype ContentsForSale is always returning FALSE.
I have attached a sample script for testing. By default, containers in your inventory are ContentsForSale = TRUE, so when you run the script after you've fixed the bug you should see your containers returning TRUE. To test a FALSE, open an inventory bag, right click on an empty slot and select bag options. Enable Contents are not for sale and then press Apply. When you run the script again, that container should return FALSE.