fixed bugs when filtering same numbers in search process

should filter same expressions, instead of same values.