Fixing a bug in zca-toggle causing uncounted invocations