Row {0}# Paid Amount cannot be greater than requested advance amount

Hi,
I’m using ERPNext Version13. I am facing two issues here. Although this did not happen in the previous version 12.
1.Employee has been paid using Payment Entry after creating the Employee Advance but if I want to cancel the payment, the following message is showing:

“Row {0}# Paid Amount cannot be greater than requested advance amount”

  1. After adjusting some part of the advance amount mentioned above with the Expense Claim, when taking return rest of the amount it showing same message:

"“Row {0}# Paid Amount cannot be greater than requested advance amount”

It would be helpful to know how to solve this problem.

same here