FIX: searching for not payed invoices don't work

FIX: searching for not payed invoices don't work