fix unevaluated index bug

fixes index bug reported [here](https://groups.google.com/forum/#!topic/mathics-users/wdfJRxHK2wM)