fixes JIRA-1080 Support createIndexes command when available