Fixed a bug in PrimeCache. For science.