Fix cookbook2.rb search method