Revert id anchors to correct state