BugFix in specialized sum method