Bug fix #274 : Change was not attached to the right element when considering lists