Deductions & credits

The proposed fixes are not working. Need a fix!