Fix for generation of the indices unary expression. The type of the expression was incorrectly set.