Make index() ruby ssas 3.3 compatible
Merge pull request #526 from xzyfer/fix/issue_512

Make index() sas 3.3 compatible