fix Sum and Product _eval_subs
Merge pull request #2054 from smichr/sum-prod-subs

fix Sum and Product _eval_subs