Set of resolved placeholder references is used for circular placeholder
prevention. For complex property definitions this mechanism would put
property values with unresolved inner placeholder references in the
set, but would try to remove property values with placeholders
resolved, leaving set in invalid state and mechanism broken.
This fix makes sure value that is put in set is same one that is
removed from it, and by this avoid false positives in reporting