fix(exclude): fix exclusion bug due to inverted conditional