get_item_last_cost multipliers were determined with incorrect logic

Previous commit contained logic errors for determining the last item cost.