Fixed bug with random sampling not actually happening; prevented empty phenotype list from ever being given