apply correct order of payment_report updates, so correct status is set.

When a payment was cancelled first, and then paid later, the status
remained to be cancelled. Now the correct payment line will be used.