Fix issue #289: Vector completion with complex index expression fails

After fix:
![](http://service.crazypanda.ru/v/clip2net/U/U/PLLXYCBoM3.png)
![](http://service.crazypanda.ru/v/clip2net/z/e/s9bqnt1lec.png)