Bug fix for state transitioning - don't change nonce until after
guaranteed no collision has occured.