OJ.to.number optimizations.
Quick fix for OJ.* number checks.