nested flattening of selector lists implemented