Creating an credit invoice, discount is showing?

Hi All,

When you have an invoice and create an credit note, 2 lines of discounts are appearing?
See images attached.

Image 1

Image 2

Any idea how to fix this?

regards