1) getDimensionCardinality() on QueryIndexStorageAdapter wasn't case insensitive.