fixes subset method so it (a) works and (b) also handles phenotype subsets