I have an issue with posting payments when generated from a payment journal. We are receiving an error that states that the payment has been cancelled due to over settlement. When I looked into this the marked invoices to be paid were not the correct invoices, they were in fact credit notes. We had to individually go in and unmark the credit notes and mark the invoices. Why is this happening?