In the unlikely event that we wrap the counter, skip 0 as this is used for broadcasts. Suggested by Richard Maw. (cherry picked from commit 913b0eef)