Modified the backend to support search on traces.