Avoid AssertionError on first write attempt during replica set failover, PYTHON-601.