Minor update to isprime.