re-instituted replace with old value test on hash set