Only query when the string is longer than 3 chars.

Only querying when the search string is longer than 3 chars leads to an
improved using experience.