Payment state should be balance_due if a completed payment is below total

I've been having an issue with one of my stores, when you delete an adjustment on an order with a paid payment, the payment state changes to credit_owed instead of balance_due, I guess this is related to https://github.com/spree/spree/issues/4550