fix #661 simplify array subscript access nil check
Merge pull request #698 from kostya/subscript

fix #661 simplify array subscript access nil check