Correction to listener handling in value assignments