Bug fix for temporary values

Fixed not being able to access/alter arrays on temporary values