Fixed potential rage

Incase an item that has a container item which stack size is more then one will fix a potential screwup. Has some intelligent code so it will bypass this rule in some cases.