Flag fix

Fixes #9973 , my mistake.