Fix bug with "0"

Using 0 causes the first event to be overridden; -1 is the right value.