Hi Phani,
I checked, and confirm that if we use the condition type 'JASS' or a copy of same, then system will take the total of only active conditions. So if there are one condition type which is wrongly entered twice so only one will be active or if there is two condition type where only one is active, then the JASS will take the value from Active Condition only.
If you are getting different result, then check it again, there may be some enhancement which is stopping this.
Regards,
Amitesh Anand