Fixes unit price calculation.