Fixing a minor bug in Cache replace code in Connection Manager.