[OFBIZ-6185] Type-ahead regarding LookupInvoice in AP doesn't return result. Applying patch from OFBIZ-6185. Thanks Pierre Smits for reporting the issue. Applying fix from trunk r1720920.