Does this only work for books with 2 levels of subcollections? I believe books have arbitrary depth.