Fix a typo in countStructList()
Simplify adaptive decisions code