Added OR-based search functionality.