Fixed #23121: AlterModelOptions operation not changing state right