Revert "Delete search for the sets"

This reverts commit dd67c50978abb99fab01dedcc5b00ecadd27f743.
Test