Simplify fix to avoid counting change from  other inputs.