MODE-2279 Fixed how IndexKind values are processed within RepositoryConfiguration