Fix up inventory insert calculation