primes subtle bug fix.
Merge pull request #2 from imazine/patch-1

primes subtle bug fix.