- Added recursive function to get accessible subcollections