Fix in creation of subsets