MODE-2359 Fixed a bug in the logic of adding/removing referrers when the same property is changed multiple times.