Fixes #319 Searching thread prefix only searches one prefix even if mult...

...iple selected

For the feature branch