Next prime number still not working. Fixing.