older nokogiri doesnt support xpath boolean() function