Simplify set comparison