Fix optimistic logging