More robust xmlrpc search function