Update EntityOperations.php
requested to merge issue/workbench_moderation-3262995:3262995-php8-null-handling-in-entity-operations into 8.x-1.x
Actually saves the default moderation state when it is null. Also changes the method of checking for null on the entity's moderation state.