Arrays and Slices with negative index are marked as wrong expression

Fix issue #533