fixes #5382 make sure a search with upper case characters works