Fix issue with Nokogiri and grep