[subset] fix find_duplicate_features

We should check each feature against all other features with the same
tag for duplicates.
12 files changed