Fix problem when attempting to expand lists of lists of tokens; also fix isin() method.