Stop OnRuntimeError from dying in recursion

This fixes issue #13.