could avoid double negation by:
<pre>search_paths.select! { |path| valid_search_path?(path) }</pre>