client: fix query parameters bug in searchInvoices

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>