To be able to search as a guest you have to do the image verification (for each search you make). The box to do so is right bellow the "Search by Keyword" and "Search by User Name." Otherwise it will just return you to the search page.
The sql query that showed up for advanced searches has been fixed.
I'm closing this thread. If you have further issues please post.