ENG-1565: Do NOT use hash index for optimization.