Bug fix: #382532
- when the candidacy is cancelled the debt event is also it's not
possible to calculate the debt