Fixed bug in api search functions, api queries other api servers instead...

... of their respective search servers.