If a contact has an active and an inactive credit memo, and the active credit memo is applied to an invoice, the inactive credit memo was also being applied after approving the invoice. This issue has been fixed.