Make the modified backtrace not leak to @exception

The modification of the backtrace in filtered_step_exception should not
affect the backtrace of @exception.