Conditionals updated in search methods for book filtering