Fix for write off loans

Write-off loan amount is adjusted