fixes JAVA-1098 remove ensureIndex() methods