Nested set query classnames