filter nodes by root group