Fix search input hint not clearing properly.
Merge pull request #5178 from williamboman/fix-tabcomplete-hint

Fix search input hint not clearing properly.