Replaced mechanize with nokogiri and raising errors instead of returning empty result.