Add prefix check to index generation.
When calling EnsureGetIndex() or EnsureCountIndex(), whatever index gets generated will only be put in place if it is not a prefix of an existing index. It is often the case where one calls Count() on very similiar queries to Get(). Doing your EnsureGetIndex() calls before EnsureCountIndex() will now only generate the non overlapping indexes, speeding up all writes.