Moved the setting of ret->match_flags up a little in make_exclude().