Removed unnecessary affect_total() from handler.c

Fixes #295.