Fix singleness validator for root nodes