Removed the side effects of ensureIndexQuality

Dropping the newly created index inside ensureIndexQuality method.