Fixed looping recursion bug for inner exceptions beyond recursion depth 2.
More robust test case testing nested try/catch/throw statements.