Fixed exclude filter for closed tags