By using this.get('db').machines.filterByAncestor(parentId) we can also handle nested containers (e.g. 1/kvm/0/lxc/42).