Yet more fixes for trace search UI / backend.
Yet more fixes for trace search UI / backend.