fixed OrMatcher to correctly iterate a union