Code style fixes in search.cpp