Improved logging of requests for debugging.
Fixed search bug.