Fixed column count and parameter error for inventories.