handle: Fix funky logic in internal error handling. (GitHub issue #9)