Correct Nil handling on JVM.