Understanding matches in sieve