When searching for an invoice with a check number you cannot search for wire/ach transactions as those are payment numbers and not check numbers. The search for invoices should either look at the payment# field and check# field simultaneously or a separate Payment# search field should be implemented