Bug in expand_dummy_sum is fixed.