SERVER-14833 Fix issue where 98eb2f1d broke text index spec rewrite