RUBY-806 Use listIndexes command with wire version >= 3