Allow selling of composite items that are partly inital

I had the problem that I couldn't sell items when they were based on composite items, that are not all in initiation mode.

Example:

Logs, not initiation mode, more than median available
Diamonds, initiation mode, a few available

Selling a diamond sword resulted in selling 0 swords