Partial payments could no longer be deleted, and an incorrect payment rule was also created

Partial payments could no longer be deleted, and an incorrect payment rule was also created.