Fix bug handling multiple children of root criterion