[noticket] Search error fixed to cope when no user agent.