I’m sorry for late reply.
You can exclude disabled users on User Profiles service level. Please review this article.
Org Chart searches for every user profiles by default. It is by design. if you want to exclude someone from search you need to use filtration rules.