Make index() ruby ssas 3.3 compatible