fixed bug in searchplos that was only allowing at most two arguments to the toquery parameter