Fix a few bugs that made LIST work confusingly with T and C qualifiers.