Fixed bug in forwarding search requests