simplified fix for isSubset