Any reason the block here can't be `{ |path| ! valid_search_path?(path) }` as above?