Now actually works for negated flags