fixed all the problems with InactiveCounter to remove those "renamed/bad" GT's automatically from leaf