Use createIndexes command when available PYTHON-622