If last payment available but the debt is nil then it will return 0