changed logical AND to OR in text search