Fix not clearing NFLAG_UPDATE_MATCHED_RULES.