If you wish to change the way a payment is applied to a loan, you can change the payment distribution order in the transaction entry screen. In the distribution list you would need to set past due late fees and current late fees below the other loan balances that should be paid before late fees are paid.