Fix bug after 2nd change of a Live Expression: and add test

Fix bug after 2nd change of a Live Expression: and add test