Deductions & credits

Unfortunately, @amgrobman fix did not work for me, problem still exists.