Fix expressions in for each statements