Fix stacktrace filtering