Fixed a small bug in iPrimes