Issue #2544790 by hchonov, amateescu, tstoeckler: ContentEntityBase::setNewRevision(FALSE) is broken if ::setNewRevision(TRUE) was called previously