Issue #3564970: Incorrect behavior when setting existing flag to new.

Closes #3564970

Merge request reports

Loading