Don't unconditionally process only one event

The previous version suffered from the issue where bool(str("0")) == True