Postprocessing for speeding up general quantum search algorithms