Fix support for bool flag negation.