Correct stacktrace unserialization behavior