Fixed a bug that caused missing alleles to be included when simulating alleles.

Thisis the bug reported in issue #24.