Fix:
- Fix error
Call to a member function hasSubAccount() on null
- Fix error
Call to a member function filter()
- Add a permission for the maximum parent account linked for a sub accounts