1) getDimensionCardinality() on QueryIndexStorageAdapter wasn't case insensitive.
Merge branch 'master' into stop_task