fix check for None value.
add full support for set and frozen set as container for keys to select.