I think even with optimistic locking it's possible that the originator forwarded the PrepareCommand to other nodes after it finished executing locally.