Turns out the problem was with having a <netid></netid> tag in a node
XML block. Changed main '<netid>' block to '<netids>'.