Removed outputting the sql after searching.