[#79509] Rework cancellation cost calculation

This should fix the bug where cancellation confirmations were not always calculating cancellation costs.