Removed each call in remove_xpaths. Nokogiri returns a NodeSet, it loops through children on remove.