Fixed issue with search sentences