When updating, correctly reset sequences whose value was 1.

Passing a boolean as the third argument to setval sets whether or not
the sequence has ever been called, so it won't bump the value next time.
That way, we don't have to set the value to 0 to get the next value to
be 1.