Properly fixed the anc_total bug.
Merge pull request #167 from AndreLesa/bug_fix

Properly fixed the anc_total bug.