Make Benchmark.Trace handle invalid arguments.