Fix CASP TGIList bug.