Fix unsetting feature name flags

In order to unset some flags there should be `flags AND NOT mask` instead of `flags XOR mask`, right?