Fix infinite errors in REPL on Moar.

Maybe on JVM too.