fixes #2366 Lack of synchronization between selected anchors and anchors still in existence can sometimes occur. This is detected but not solved with this checkin.