Fix multicore searching.