Fixes #5245: Prevent selecting all items when searching.
Merge pull request #4260 from ehelms/fixes-5245

Fixes #5245: Prevent selecting all items when searching.