SERVER-11374: fixing text index compatibility