apply minLength to each tag search