Support adding automatically parent categories if special config value enabled.