Added number_in_stock, fixed bug in inventory_txns joins.