small fix for #3401
similar to #3401, fix for Set{T}
tests for setdiff
Merge pull request #3402 from sbos/master

RFC: fix for #3401