Fix calculation of taken items in ItemCost