Correct flag inverse settings