Precondition for writing events to ensure the subject alread contains events.
In this case, you must specify both the subject and the ID of the most recent event. This lets you check that no new events have been added since you last read the subject – essentially enabling optimistic locking on a per-subject basis.