SERVER-8435 SERVER-8425 - fix quantization for upgrade path and indexes