Query fails unless match is at least 80%

[CR #388545] The substring match does not work unless the match is at least 80% in most cases. For example, if you enter a query get custdetails to work against an application dbcustdetails, the query fails. If you enter a query using dbcustdetails, the query does work.

Workaround: Queries should match the original word as closely as possible.