Fixed bug with expression variables.

They can be changed repeatedly now without problems.