Fixed small bug that was always giving maximum deduction