Fixed a bug where the primes 2-7 were not generated